package com.erp.gather.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.erp.gather.domain.ErpSellerProductShare;
import com.erp.gather.domain.vo.ErpSellerProductShareVo;
import com.ruoyi.common.core.annotation.DataColumn;
import com.ruoyi.common.core.annotation.DataPermission;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 个人商品分享Mapper接口
 *
 * @author erp
 * @date 2023-11-16
 */
public interface ErpSellerProductShareMapper
		extends BaseMapperPlus<ErpSellerProductShareMapper, ErpSellerProductShare, ErpSellerProductShareVo> {

	@Override
	@DataPermission({ @DataColumn(key = "userName", value = "user_id") })
	<P extends IPage<ErpSellerProductShare>> P selectPage(P page,
			@Param(Constants.WRAPPER) Wrapper<ErpSellerProductShare> queryWrapper);
}
